package com.holly.unit.bpmn.activiti.pojo;

import com.holly.unit.core.pojo.request.BaseRequest;
import com.holly.unit.scanner.api.annotation.field.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 类描述: 删除任务历史参数封装
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/3/8 15:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProcessTaskDeleteHistoricRequest extends BaseRequest {

    @NotNull(message = "任务ids不能为空", groups = {deleteHistoric.class})
    @ChineseDescription("任务ids")
    private String ids;

    public @interface deleteHistoric{}

}
